package com.example.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.DeviceAlarmRecord;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【device_alarm_record】的数据库操作Service
* @createDate 2023-07-04 13:56:42
*/
public interface DeviceAlarmRecordService extends IService<DeviceAlarmRecord> {

    PageInfo<DeviceAlarmRecord> get(int pageNumber, int pageSize, String beginTime, String endTime,String solve, String type);

    int add(DeviceAlarmRecord record);

    void delete(Integer[] ids);

    void handle(Integer id, String handle, String handleMessage);

    DeviceAlarmRecord getById(Integer id);

    PageInfo<DeviceAlarmRecord> getByLevel(int pageNumber, int pageSize, String alarmLevel);

    PageInfo<DeviceAlarmRecord> getByTime(int pageNumber, int pageSize, String beginTime, String endTime);

}
